package com.sunthy.mall.dao.client;

import com.sunthy.mall.model.admin.pojo.client.Comments;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * comments 的数据库增删改查操作
 */
public interface CommentsDao {
    /**
     * 根据goodsId查询comments
     *
     * @param goodsId
     * @return
     */
    List<Comments> selComments(Integer goodsId);

    int addComments(@Param("comments") Comments comments);
}
